home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 1 / LIGHT-ROM 1 (Amiga Library Services)(1994).iso / ffdisks / d936.lha / TKEd / ErrorTools.lha / ErrorTools / Lattice_C / LatticeErrToTKEd.doc < prev    next >
Text File  |  1992-10-28  |  3KB  |  100 lines

  1. ***************************************************************
  2. *                                                             *
  3. *               Manual for LatticeErrToTKEd                   *
  4. *                                                             *
  5. *  Author:  Christoph Kirsch                                  *
  6. *           Holstenhofweg 85                                  *
  7. *           2000 Hamburg 70                                   *
  8. *                                                             *
  9. *  Date  :  22.09.1992                                        *
  10. *                                                             *
  11. ***************************************************************
  12.  
  13.  
  14. Contents of the directory 'ErrorTools/Lattice_C':
  15.  
  16.   - LatticeErrToTKEd
  17.   - DeleteLnk
  18.   - ExecuteC
  19.   - the script compile
  20.   - the script compile_m
  21.   - the script compile_opt
  22.   - the script compile_stdopt
  23.   - the sources of LatticeErrToTKEd, DeleteLnk und ExecuteC
  24.   - A small demo-file Fehler.c
  25.   - This document
  26.   
  27. This package was designed to make an easy to use programmer-environment
  28. from TKEd to the Lattice-C Compiler V5.1b
  29.  
  30.  
  31. LatticeErrToTKEd:
  32.  
  33.   Name of the sourcecode: ErrConvert.c.
  34.   This programm converts the error-messages of the Lattice-C compiler
  35.   (V5.1b) into the format of the TKEd.
  36.  
  37.   You must start the compiler with the options
  38.   
  39.     lc >T:Err -L <filename>
  40.  
  41.   All output of the compiler are redirected to the file 'T:Err'
  42.   LatticeErrToTKEd converts this file to the file 'RAM:TKEd' which is
  43.   read by TKEd when choosing the menu 'First Error'
  44.   Example:  lc >T:Err -l Hello.c
  45.     
  46. DeleteLnk:
  47.  
  48.   This programm deletes the files 'filename.lnk', 'filename.o' and
  49.   'filename.map' to save diskspace.
  50.   'filename.c' should be the parameter for DeleteLnk.
  51.   Example:  DeleteLnk Hello.c
  52.  
  53. ExecuteC:
  54.  
  55.   No more needed since TKEd V1.09.
  56.   Uses a sourcecodename (Hello.c) as parameter and start the 
  57.   programm (without the extension #.c')
  58.   Example:  ExecuteC Hello.c   will start the programm 'Hello'
  59.  
  60. compile:
  61.  
  62.   This is the main script, which is called from a user-menu of TKEd
  63.   with
  64.   
  65.   "compile {}"
  66.  
  67.   and that calls all other programms automaticly.
  68.  
  69.   The current text will be compiled, and the '.o', '.lnk' and '.map'
  70.   files will be deleted.
  71.   
  72.   ATTENTION !!! :
  73.     - The s-bit of 'compile' must be set
  74.     - All paths must be set correctly (in the script, too)
  75.   The compiler uses the options in ENV:SASCOPTS, which can be set
  76.   by the sascoptions programm of the compiler (see manual)
  77.   Using this programm, you can adjust the compiler-option from TKEd!
  78.  
  79.     
  80. compile_m:
  81.  
  82.   Same as 'compile', but links the floatingpoint-library to the code.
  83.  
  84. compile_opt
  85.  
  86.   Same as 'compile' but with the option to add compiler-option from
  87.   TKEd. (see TKEd.doc).
  88.  
  89. compile_stdopt
  90.  
  91.   Same as 'compile' with an additional call of OptConvert to convert the
  92.   ENV:SASCOPTS to ENV:SASCOPTSTRING; No more needed with newer versions
  93.   of the compiler.
  94.  
  95. Fehler.c
  96.  
  97.   Example source-code with some errors.
  98.  
  99.  
  100.